package com.xiashitech.apiservice.dao;

import com.xiashitech.apiservice.dao.model.AgentNode;
import com.xiashitech.apiservice.dao.model.PushHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PushHistoryMapper {
    public int insertPushHistory(PushHistory pushHistory);
    public PushHistory selectOneHistory(Long pushId);
    public int updatePushStatus(List<Long> ids,Integer status);
    public int updateOnePushStatus(@Param("id") Long id, @Param("status")Integer status);
    public  int deleteHistory();
    public List<PushHistory> selectRetryHistory(PushHistory pushHistory);
    public List<PushHistory> getHistoryStatusListByIds(List<Integer> ids);
    public List<PushHistory> getHistoryStatusListBySystemIds(List<String> systemIds);
}
